package com.java.comprehensive.design.behavioral_model.command_pattern;


import java.util.HashMap;
import java.util.Map;

/**
 * @Author 窦绍飞
 * @create 2023/2/16
 * 订单类
 */
public class Order {
	private Integer dinnerTableCode;
	private Map<String, Integer> foodDir = new HashMap<>();

	public Integer getDinnerTableCode() {
		return dinnerTableCode;
	}

	public void setDinnerTableCode(Integer dinnerTableCode) {
		this.dinnerTableCode = dinnerTableCode;
	}

	public Map<String, Integer> getFoodDir() {
		return foodDir;
	}

	public void setFood(String name, Integer num) {
		this.foodDir.put(name, num);
	}
}
